package com.smedi.ismedi.inmail.api.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author u
 */
@Data
public class MessageRecordResponse implements Serializable {
    private Long id;

    private String projectId;

    private String sourceFrom;

    private Long sourceFromId;

    private String projectName;

    private Long userId;

    private Long messageId;

    private String messageTitle;

    private String messageContent;

    private String messageType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private LocalDateTime pushTime;

    private Boolean messageRead;

    @ApiModelProperty(value = "附件key")
    private List<String> attachmentKeyList;

    @ApiModelProperty(value = "附件名称")
    private List<String> attachmentNameList;

    @ApiModelProperty(value = "附件后缀名")
    private List<String> attachmentExtensionList;
}